package com.wys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("tb_user")
@Data
public class User {
  @TableId(value = "id", type = IdType.AUTO)
  private long id;

  @TableField(value = "username")
  private String username;

  @TableField(value = "password")
  private String password;

  @TableField(value = "nickname")
  private String nickname;

  @TableField(value = "sex")
  private long sex;

  @TableField(value = "phone")
  private String phone;

}
